<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns:th="www.thymleaf.org">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link type="text/css" rel="stylesheet" href="css/style.css" />
    <!--[if IE 6]>
    <script src="js/iepng.js" type="text/javascript"></script>
        <script type="text/javascript">
           EvPNG.fix('div, ul, img, li, input, a'); 
        </script>
    <![endif]-->
    
    <script type="text/javascript" src="js/jquery-1.8.2.min.js"></script>
    <script type="text/javascript" src="js/menu.js"></script>    
            
	<script type="text/javascript" src="js/lrscroll_1.js"></script>   
     
    
	<script type="text/javascript" src="js/n_nav.js"></script>
    
    <link rel="stylesheet" type="text/css" href="css/ShopShow.css" />
    <link rel="stylesheet" type="text/css" href="css/MagicZoom.css" />
    <link rel="stylesheet" type="text/css" href="css/qq.css" />
    <script type="text/javascript" src="js/MagicZoom.js"></script>
    
    <script type="text/javascript" src="js/num.js">
    	var jq = jQuery.noConflict();
    </script>
        
    <script type="text/javascript" src="js/p_tab.js"></script>
    
    <script type="text/javascript" src="js/shade.js"></script>
    <!-- 加入购物车 -->
	
<title>尤洪</title>
</head>
<body>  
<div th:replace="head::headHtml">
<!--Begin Header Begin-->
<div class="soubg">
	<div class="sou">
    	<!--Begin 所在收货地区 Begin-->
    	<span class="s_city_b">
        	<span class="fl">送货至：</span>
            <span class="s_city">
            	<span>四川</span>
                <div class="s_city_bg">
                	<div class="s_city_t"></div>
                    <div class="s_city_c">
                    	<h2>请选择所在的收货地区</h2>
                        <table border="0" class="c_tab" style="width:235px; margin-top:10px;" cellspacing="0" cellpadding="0">
                          <tr>
                            <th>A</th>
                            <td class="c_h"><span>安徽</span><span>澳门</span></td>
                          </tr>
                          <tr>
                            <th>B</th>
                            <td class="c_h"><span>北京</span></td>
                          </tr>
                          <tr>
                            <th>C</th>
                            <td class="c_h"><span>重庆</span></td>
                          </tr>
                          <tr>
                            <th>F</th>
                            <td class="c_h"><span>福建</span></td>
                          </tr>
                          <tr>
                            <th>G</th>
                            <td class="c_h"><span>广东</span><span>广西</span><span>贵州</span><span>甘肃</span></td>
                          </tr>
                          <tr>
                            <th>H</th>
                            <td class="c_h"><span>河北</span><span>河南</span><span>黑龙江</span><span>海南</span><span>湖北</span><span>湖南</span></td>
                          </tr>
                          <tr>
                            <th>J</th>
                            <td class="c_h"><span>江苏</span><span>吉林</span><span>江西</span></td>
                          </tr>
                          <tr>
                            <th>L</th>
                            <td class="c_h"><span>辽宁</span></td>
                          </tr>
                          <tr>
                            <th>N</th>
                            <td class="c_h"><span>内蒙古</span><span>宁夏</span></td>
                          </tr>
                          <tr>
                            <th>Q</th>
                            <td class="c_h"><span>青海</span></td>
                          </tr>
                          <tr>
                            <th>S</th>
                            <td class="c_h"><span>上海</span><span>山东</span><span>山西</span><span class="c_check">四川</span><span>陕西</span></td>
                          </tr>
                          <tr>
                            <th>T</th>
                            <td class="c_h"><span>台湾</span><span>天津</span></td>
                          </tr>
                          <tr>
                            <th>X</th>
                            <td class="c_h"><span>西藏</span><span>香港</span><span>新疆</span></td>
                          </tr>
                          <tr>
                            <th>Y</th>
                            <td class="c_h"><span>云南</span></td>
                          </tr>
                          <tr>
                            <th>Z</th>
                            <td class="c_h"><span>浙江</span></td>
                          </tr>
                        </table>
                    </div>
                </div>
            </span>
        </span>
        <!--End 所在收货地区 End-->
        <span class="fr">
        	<span class="fl">你好，请<a href="Login.html">登录</a>&nbsp; <a href="Regist.html" style="color:#ff4e00;">免费注册</a>&nbsp;|&nbsp;<a href="#">我的订单</a>&nbsp;|</span>
        	<span class="ss">
            	<div class="ss_list">
                	<a href="#">收藏夹</a>
                    <div class="ss_list_bg">
                    	<div class="s_city_t"></div>
                        <div class="ss_list_c">
                        	<ul>
                            	<li><a href="#">我的收藏夹</a></li>
                                <li><a href="#">我的收藏夹</a></li>
                            </ul>
                        </div>
                    </div>     
                </div>
                <div class="ss_list">
                	<a href="#">客户服务</a>
                    <div class="ss_list_bg">
                    	<div class="s_city_t"></div>
                        <div class="ss_list_c">
                        	<ul>
                            	<li><a href="#">客户服务</a></li>
                                <li><a href="#">客户服务</a></li>
                                <li><a href="#">客户服务</a></li>
                            </ul>
                        </div>
                    </div>    
                </div>
                <div class="ss_list">
                	<a href="#">网站导航</a>
                    <div class="ss_list_bg">
                    	<div class="s_city_t"></div>
                        <div class="ss_list_c">
                        	<ul>
                            	<li><a href="#">网站导航</a></li>
                                <li><a href="#">网站导航</a></li>
                            </ul>
                        </div>
                    </div>    
                </div>
            </span>
            <span class="fl">|&nbsp;关注我们：</span>
            <span class="s_sh"><a href="#" class="sh1">新浪</a><a href="#" class="sh2">微信</a></span>
            <span class="fr">|&nbsp;<a href="#">手机版&nbsp;<img src="images/s_tel.png" align="absmiddle" /></a></span>
        </span>
    </div>
</div>
<div class="top">
    <div class="logo"><a href="Index.html"><img src="images/logo.png" /></a></div>
    <div class="search">
    	<form>
        	<input type="text" value="" class="s_ipt" />
            <input type="submit" value="搜索" class="s_btn" />
        </form>                      
        <span class="fl"><a href="#">咖啡</a><a href="#">iphone 6S</a><a href="#">新鲜美食</a><a href="#">蛋糕</a><a href="#">日用品</a><a href="#">连衣裙</a></span>
    </div>
    <div class="i_car">
    	<div class="car_t">购物车 [ <span>3</span> ]</div>
        <div class="car_bg">
       		<!--Begin 购物车未登录 Begin-->
        	<div class="un_login">还未登录！<a href="Login.html" style="color:#ff4e00;">马上登录</a> 查看购物车！</div>
            <!--End 购物车未登录 End-->
            <!--Begin 购物车已登录 Begin-->
            
             
            <ul class="cars">
            	<li>
                	<div class="img"><a href="#"><img src="images/car1.jpg" width="58" height="58" /></a></div>
                    <div class="name"><a href="#">法颂浪漫梦境50ML 香水女士持久清新淡香 送2ML小样3只</a></div>
                    <div class="price"><font color="#ff4e00">￥399</font> X1</div>
                </li>
                <li>
                	<div class="img"><a href="#"><img src="images/car2.jpg" width="58" height="58" /></a></div>
                    <div class="name"><a href="#">香奈儿（Chanel）邂逅活力淡香水50ml</a></div>
                    <div class="price"><font color="#ff4e00">￥399</font> X1</div>
                </li>
                <li>
                	<div class="img"><a href="#"><img src="images/car2.jpg" width="58" height="58" /></a></div>
                    <div class="name"><a href="#">香奈儿（Chanel）邂逅活力淡香水50ml</a></div>
                    <div class="price"><font color="#ff4e00">￥399</font> X1</div>
                </li>
            </ul>
            <div class="price_sum">共计&nbsp; <font color="#ff4e00">￥</font><span>1058</span></div>
            <div class="price_a"><a href="#">去购物车结算</a></div>
            <!--End 购物车已登录 End-->
        </div>
    </div>
</div>
<!--End Header End--> 
<!--Begin Menu Begin-->
<div class="menu_bg">
	<div class="menu">
    	<!--Begin 商品分类详情 Begin-->    
    	<div class="nav">
        	<div class="nav_t">全部商品分类</div>
            <div class="leftNav none">
                <ul>      
                    <li>
                    	<div class="fj">
                        	<span class="n_img"><span></span><img src="images/nav1.png" /></span>
                            <span class="fl">进口食品、生鲜</span>
                        </div>
                        <div class="zj">
                            <div class="zj_l">
                                <div class="zj_l_c">
                                    <h2>零食 / 糖果 / 巧克力</h2>
                                    <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>|
                                    <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|
                                    <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>|
                                </div>
                                <div class="zj_l_c">
                                    <h2>零食 / 糖果 / 巧克力</h2>
                                    <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>|
                                    <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|
                                    <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>|
                                </div>
                                <div class="zj_l_c">
                                    <h2>零食 / 糖果 / 巧克力</h2>
                                    <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>|
                                    <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|
                                    <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>|
                                </div>
                                <div class="zj_l_c">
                                    <h2>零食 / 糖果 / 巧克力</h2>
                                    <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>|
                                    <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|
                                    <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>|
                                </div>
                                <div class="zj_l_c">
                                    <h2>零食 / 糖果 / 巧克力</h2>
                                    <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>|
                                    <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|
                                    <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>|
                                </div>
                                <div class="zj_l_c">
                                    <h2>零食 / 糖果 / 巧克力</h2>
                                    <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>|
                                    <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|
                                    <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>|
                                </div>
                            </div>
                            <div class="zj_r">
                                <a href="#"><img src="images/n_img1.jpg" width="236" height="200" /></a>
                                <a href="#"><img src="images/n_img2.jpg" width="236" height="200" /></a>
                            </div>
                        </div>
                    </li>
                    <li>
                    	<div class="fj">
                        	<span class="n_img"><span></span><img src="images/nav2.png" /></span>
                            <span class="fl">食品、饮料、酒</span>
                        </div>
                        <div class="zj" style="top:-40px;">
                            <div class="zj_l">
                                <div class="zj_l_c">
                                    <h2>零食 / 糖果 / 巧克力2</h2>
                                    <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>|
                                    <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|
                                    <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>|
                                </div>
                                <div class="zj_l_c">
                                    <h2>零食 / 糖果 / 巧克力</h2>
                                    <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>|
                                    <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|
                                    <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>|
                                </div>
                            </div>
                            <div class="zj_r">
                                <a href="#"><img src="images/n_img1.jpg" width="236" height="200" /></a>
                                <a href="#"><img src="images/n_img2.jpg" width="236" height="200" /></a>
                            </div>
                        </div>
                    </li>
                    <li>
                    	<div class="fj">
                        	<span class="n_img"><span></span><img src="images/nav3.png" /></span>
                            <span class="fl">母婴、玩具、童装</span>
                        </div>
                        <div class="zj" style="top:-80px;">
                            <div class="zj_l">
                                <div class="zj_l_c">
                                    <h2>零食 / 糖果 / 巧克力3</h2>
                                    <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>|
                                    <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|
                                    <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>|
                                </div>
                            </div>
                            <div class="zj_r">
                                <a href="#"><img src="images/n_img1.jpg" width="236" height="200" /></a>
                                <a href="#"><img src="images/n_img2.jpg" width="236" height="200" /></a>
                            </div>
                        </div>
                    </li>
                    <li>
                    	<div class="fj">
                        	<span class="n_img"><span></span><img src="images/nav4.png" /></span>
                            <span class="fl">家居、家庭清洁、纸品</span>
                        </div>
                        <div class="zj" style="top:-120px;">
                            <div class="zj_l">
                                <div class="zj_l_c">
                                    <h2>零食 / 糖果 / 巧克力4</h2>
                                    <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>|
                                    <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|
                                    <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>|
                                </div>
                            </div>
                            <div class="zj_r">
                                <a href="#"><img src="images/n_img1.jpg" width="236" height="200" /></a>
                                <a href="#"><img src="images/n_img2.jpg" width="236" height="200" /></a>
                            </div>
                        </div>
                    </li>
                    <li>
                    	<div class="fj">
                        	<span class="n_img"><span></span><img src="images/nav5.png" /></span>
                            <span class="fl">美妆、个人护理、洗护</span>
                        </div>
                        <div class="zj" style="top:-160px;">
                            <div class="zj_l">
                                <div class="zj_l_c">
                                    <h2>零食 / 糖果 / 巧克力5</h2>
                                    <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>|
                                    <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|
                                    <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>|
                                </div>
                            </div>
                            <div class="zj_r">
                                <a href="#"><img src="images/n_img1.jpg" width="236" height="200" /></a>
                                <a href="#"><img src="images/n_img2.jpg" width="236" height="200" /></a>
                            </div>
                        </div>
                    </li>
                    <li>
                    	<div class="fj">
                        	<span class="n_img"><span></span><img src="images/nav6.png" /></span>
                            <span class="fl">女装、内衣、中老年</span>
                        </div>
                        <div class="zj" style="top:-200px;">
                            <div class="zj_l">
                                <div class="zj_l_c">
                                    <h2>零食 / 糖果 / 巧克力6</h2>
                                    <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>|
                                    <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|
                                    <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>|
                                </div>
                            </div>
                            <div class="zj_r">
                                <a href="#"><img src="images/n_img1.jpg" width="236" height="200" /></a>
                                <a href="#"><img src="images/n_img2.jpg" width="236" height="200" /></a>
                            </div>
                        </div>
                    </li>
                    <li>
                    	<div class="fj">
                        	<span class="n_img"><span></span><img src="images/nav7.png" /></span>
                            <span class="fl">鞋靴、箱包、腕表配饰</span>
                        </div>
                        <div class="zj" style="top:-240px;">
                            <div class="zj_l">
                                <div class="zj_l_c">
                                    <h2>零食 / 糖果 / 巧克力7</h2>
                                    <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>|
                                    <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|
                                    <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>|
                                </div>
                            </div>
                            <div class="zj_r">
                                <a href="#"><img src="images/n_img1.jpg" width="236" height="200" /></a>
                                <a href="#"><img src="images/n_img2.jpg" width="236" height="200" /></a>
                            </div>
                        </div>
                    </li>
                    <li>
                    	<div class="fj">
                        	<span class="n_img"><span></span><img src="images/nav8.png" /></span>
                            <span class="fl">男装、运动</span>
                        </div>
                        <div class="zj" style="top:-280px;">
                            <div class="zj_l">
                                <div class="zj_l_c">
                                    <h2>零食 / 糖果 / 巧克力8</h2>
                                    <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>|
                                    <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|
                                    <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>|
                                </div>
                            </div>
                            <div class="zj_r">
                                <a href="#"><img src="images/n_img1.jpg" width="236" height="200" /></a>
                                <a href="#"><img src="images/n_img2.jpg" width="236" height="200" /></a>
                            </div>
                        </div>
                    </li>
                    <li>
                    	<div class="fj">
                        	<span class="n_img"><span></span><img src="images/nav9.png" /></span>
                            <span class="fl">手机、小家电、电脑</span>
                        </div>
                        <div class="zj" style="top:-320px;">
                            <div class="zj_l">
                                <div class="zj_l_c">
                                    <h2>零食 / 糖果 / 巧克力9</h2>
                                    <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>|
                                    <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|
                                    <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>|
                                </div>
                            </div>
                            <div class="zj_r">
                                <a href="#"><img src="images/n_img1.jpg" width="236" height="200" /></a>
                                <a href="#"><img src="images/n_img2.jpg" width="236" height="200" /></a>
                            </div>
                        </div>
                    </li>                    
                    <li>
                    	<div class="fj">
                        	<span class="n_img"><span></span><img src="images/nav10.png" /></span>
                            <span class="fl">礼品、充值</span>
                        </div>
                        <div class="zj" style="top:-360px;">
                            <div class="zj_l">
                                <div class="zj_l_c">
                                    <h2>零食 / 糖果 / 巧克力10</h2>
                                    <a href="#">坚果</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">巧克力</a>|
                                    <a href="#">口香糖</a>|<a href="#">海苔</a>|<a href="#">鱼干</a>|<a href="#">蜜饯</a>|<a href="#">红枣</a>|
                                    <a href="#">蜜饯</a>|<a href="#">红枣</a>|<a href="#">牛肉干</a>|<a href="#">蜜饯</a>|
                                </div>
                            </div>
                            <div class="zj_r">
                                <a href="#"><img src="images/n_img1.jpg" width="236" height="200" /></a>
                                <a href="#"><img src="images/n_img2.jpg" width="236" height="200" /></a>
                            </div>
                        </div>
                    </li>                    	
                </ul>            
            </div>
        </div>  
        <!--End 商品分类详情 End-->                                                     
    	<ul class="menu_r">
        	<li><a href="Index.html">首页</a></li>
            <li><a href="Food.html">美食</a></li>
            <li><a href="Fresh.html">生鲜</a></li>
            <li><a href="HomeDecoration.html">家居</a></li>
            <li><a href="SuitDress.html">女装</a></li>
            <li><a href="MakeUp.html">美妆</a></li>
            <li><a href="Digital.html">数码</a></li>
            <li><a href="GroupBuying.html">团购</a></li>
        </ul>
        <div class="m_ad">中秋送好礼！</div>
    </div>
</div>
<!--End Menu End--> 
</div>
<div class="i_bg">
    <div class="content" style="margin-top:20px;">
    	                    
        <div id="tsShopContainer">
            <div id="tsImgS"><a th:href="${product.image.get(0).url}" th:title="${product.name}" class="MagicZoom" id="MagicZoom">
            	<img th:src="${product.image.get(0).url}" width="390" height="390" /></a></div>
            <div id="tsPicContainer">
                <div id="tsImgSArrL" onclick="tsScrollArrLeft()"></div>
                <div id="tsImgSCon" style="width: 100%;">
                    <ul >
                        <li th:each="sbp:${product.image}" onclick="showPic(0)" rel="MagicZoom">
                        	<img th:src="${sbp.url}" th:tsImgS="${sbp.url}"  width="79" height="79" />
                        </li>
                    </ul>
                </div>
                <div id="tsImgSArrR" onclick="tsScrollArrRight()"></div>
            </div>
            <img class="MagicZoomLoading" width="16" height="16" src="images/loading.gif" alt="Loading..." />				
        </div>
        
        <div class="pro_des" id="addToCar" th:fragment="addToCar">
        	<div class="des_name">
            	<p th:text="${product.name}"></p>
            </div>
            <div class="des_price">
            	本店价格：<b>￥</b><b th:value="${product.marketPrice*product.discount}" th:text="${product.marketPrice*product.discount}"></b>&nbsp;<a style="color: red">￥<s th:style="red" th:text="${product.marketPrice}"></s></a><br />
              	<b style="font-size: 12px; color: gray;">总购买人数<span style="font-size: 12px;" th:text="${product.buyNum}"></span>&nbsp;人</b>
            </div>
            <div class="des_choice" >
            	<span class="fl">规格选择：</span>
                <ul th:each="sbp:${product.specs}">
                	<li th:onclick="'selectProductSpecs('+${sbp.id}+')'" th:id="'specs'+${sbp.id}" th:text="${sbp.name}"><div class="ch_img"></div></li>
                </ul>
            </div>
            <div class="des_share">
            	<div class="d_sh">
                	分享
                    <div class="d_sh_bg">
                    	<a href="#"><img src="images/sh_1.gif" /></a>
                        <a href="#"><img src="images/sh_2.gif" /></a>
                        <a href="#"><img src="images/sh_3.gif" /></a>
                        <a href="#"><img src="images/sh_4.gif" /></a>
                        <a href="#"><img src="images/sh_5.gif" /></a>
                    </div>
                </div>
                <div>
                	<a th:if="${product.isFav eq null}" class="d_care" th:id="addToMyFav" href="javascript:void(0)" th:onclick="'addToFav('+${product.id}+')'">收藏商品</a>
                	<a th:if="${product.isFav eq 0}" class="d_care1" th:id="addToMyFav" href="javascript:void(0)" th:onclick="'addToFav('+${product.id}+')'">收藏商品</a>
                	<a th:if="${product.isFav eq 1}" class="d_care" th:id="addToMyFav" href="javascript:void(0)" th:onclick="'addToFav('+${product.id}+')'">收藏商品</a>
                </div>
            </div>
            <div class="des_join">
            	<div class="j_nums">
                	<input type="text" value="1" id="productCount" name="" class="n_ipt" />
                    <input type="button" value="" onclick="addUpdate(jq(this));" class="n_btn_1" />
                    <input type="button" value="" onclick="jianUpdate(jq(this));" class="n_btn_2" />   
                </div>
                <!-- 加入购物车 th:onclick="javascript:addToCar('+${sbp.name}+')"-->
                <span class="fl"><a href="javascript:void(0)" onclick="addCar()"><img src="images/j_car.png" /></a></span>
            </div>            
        </div>    
        
        <div class="s_brand" style="height: 210px;">
        	<div class="s_brand_img"><img th:src="${product.business2.image2.url}" width="188" height="132" /></div>
            <div class="s_brand_c"><a th:href="@{'/brandlist?business='+${product.business}}" th:text="'点击进入'+${product.business2.name}"></a></div>
            <a href="javascript:void(0)" th:onclick="openChart([[${product.business2.id}]],[[${product.business2.image2.url}]])" title="点此可以直接和卖家交流选好的宝贝噢。" style="background: url(images/T15AD7FFFaXXbJnvQ_-130-60.gif) no-repeat 12px 0px;width: 81px;height: 20px;display: block;margin-left: 47px;" ><span style="display: none;">在线聊天</span></a>
        </div>   
    </div>
    <div class="content mar_20">
    	<div class="l_history">
        	<div class="fav_t">用户还喜欢</div>
        	<ul>
            	<li>
                    <div class="img"><a href="#"><img src="images/his_1.jpg" width="185" height="162" /></a></div>
                	<div class="name"><a href="#">Dior/迪奥香水2件套装</a></div>
                    <div class="price">
                    	<font>￥<span>368.00</span></font> &nbsp; 18R
                    </div>
                </li>
        	</ul>
        </div>
        <div class="l_list">        	
            <div class="des_border">
                <div class="des_tit">
                	<ul>
                    	<li class="current"><a href="#p_attribute">商品属性</a></li>
                        <li><a href="#p_details">商品详情</a></li>
                        <li><a href="#p_comment">商品评论</a></li>
                    </ul>
                </div>
                <div class="des_con" id="p_attribute">
                	
                	<table border="0" align="center" style="width:100%; font-family:'宋体'; margin:10px auto;" cellspacing="0" cellpadding="0">
                      <tr>
                        <td>商品名称：<a th:text="${product.name}"></a></td>
                        <td>商品编号：<a th:text="${product.id}"></a></td>
                        <td>品牌： <a th:text="${product.business2.name}"></a></td>
                        
                      </tr>
                      <tr>
                      <td>上架时间：<a th:text="${product.shelveTime}"></a> </td>
                         <td>商品库存：1234</td>
                        <td>&nbsp;</td>
                      </tr>
                      <tr>
                        <td>商品规格：<a th:text="${product.specs.get(0).name}"></a> </td>
                        <td>类型：<a th:text="${product.smallType.name}"></a></td>
                        <td>&nbsp;</td>
                        <td>&nbsp;</td>
                      </tr>
                    </table>                                               
                                            
                        
                </div>
          	</div>  
            
            <div class="des_border" id="p_details">
                <div class="des_t">商品详情</div>
                <div class="des_con">
                	<table border="0" align="center" style="width:745px; font-size:14px; font-family:'宋体';" cellspacing="0" cellpadding="0">
                      <tr>
                        <td width="265"><img th:src="${product.image.get(0).url}" width="436" height="436" /></td>
                        <td>
                        	<b  th:text="${product.name}"></b><br />
					                            【商品规格】：<a th:text="${product.specs.get(0).name}"></a><br />
					                            【商品数量】：单件<br />
					                            【商品日期】：<a th:text="${product.shelveTime}"></a><br />
					                            【商品包装】：礼盒精装<br />
					                            【商品品牌】：<a th:text="${product.business2.name}"></a><br />
                        </td>
                      </tr>
                    </table>
                    <div th:utext="${product.descriptioin}"></div>
                    <!-- <p align="center" th:each="sbp:${product.image}">
                    <img th:src="${sbp.url}" width="436" height="436" /><br /><br />
					</p> -->
                    
                </div>
          	</div>  
            
            <div class="des_border" id="p_comment">
            	<div class="des_t">商品评论</div>
                
                <table border="0" class="jud_tab" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="175" class="jud_per">
                    	<p>80.0%</p>好评度
                    </td>
                    <td width="300">
                    	<table border="0" style="width:100%;" cellspacing="0" cellpadding="0">
                          <tr>
                            <td width="90">好评<font color="#999999">（80%）</font></td>
                            <td><img src="images/pl.gif" align="absmiddle" /></td>
                          </tr>
                          <tr>
                            <td>中评<font color="#999999">（20%）</font></td>
                            <td><img src="images/pl.gif" align="absmiddle" /></td>
                          </tr>
                          <tr>
                            <td>差评<font color="#999999">（0%）</font></td>
                            <td><img src="images/pl.gif" align="absmiddle" /></td>
                          </tr>
                        </table>
                    </td>
                    <td width="185" class="jud_bg">
                    	购买过<b th:text="${product.name}"></b>的顾客，在收到商品才可以对该商品发表评论
                    </td>
                    <td class="jud_bg">您可对已购买商品进行评价<br /><a href="#"><img src="images/btn_jud.gif" /></a></td>
                  </tr>
                </table>
                <table border="0" class="jud_list" style="width:100%; margin-top:30px;" cellspacing="0" cellpadding="0">
               	  <tr>
                  	<td th:if="${product.comment.size() eq 0}">暂未被评论</td>
                  </tr>
                  <tr valign="top" th:if="${product.comment.size() gt 0}"  th:each="sbp:${product.comment}" >
                  
                    <td width="160"><img  th:src="${sbp.user2.image3.url}" width="20" th:text="${sbp.user2.trueName}" height="20" align="absmiddle" />&nbsp; </td>
                    <td width="180">
                    	<font color="#999999" th:text="${sbp.orderItem2.specs1.name}"></font>
                    </td>
                    <td th:text="${sbp.message}"> 
                
                    </td>
                     <td th:text="${sbp.sendTime}"> 
                    </td>
                    </tr>
                  
                </table>

                	
               <!-- 分页 -->
               <!--  <div class="pages">
                    <a href="#" class="p_pre">上一页</a><a href="#" class="cur">1</a><a href="#">2</a><a href="#">3</a>...<a href="#">20</a><a href="#" class="p_pre">下一页</a>
                </div> -->
                
          	</div>
            
            
        </div>
    </div>
    
    
    <!--Begin 弹出层-收藏成功 Begin-->
    <div id="fade" class="black_overlay"></div>
    <div id="MyDiv" class="white_content">             
        <div class="white_d">
            <div class="notice_t">
                <span class="fr" style="margin-top:10px; cursor:pointer;" onclick="CloseDiv('MyDiv','fade')"><img src="images/close.gif" /></span>
            </div>
            <div class="notice_c">
           		
                <table border="0" align="center" style="margin-top:;" cellspacing="0" cellpadding="0">
                  <tr valign="top">
                    <td width="40"><img src="images/suc.png" /></td>
                    <td>
                    	<span style="color:#3e3e3e; font-size:18px; font-weight:bold;">您已成功收藏该商品</span><br />
                    	<a href="/favorite">查看我的关注 >></a>
                    </td>
                  </tr>
                  <tr height="50" valign="bottom">
                  	<td>&nbsp;</td>
                    <td><a href="javascript:void(0)" id="yes" onclick="Yes()" class="b_sure">确定</a></td>
                  </tr>
                </table>
                    
            </div>
        </div>
    </div>    
    <!--End 弹出层-收藏成功 End-->
    
    <!--Begin 弹出层-取消关注 Begin-->
    <div id="fade2" class="black_overlay"></div>
    <div id="MyDiv2" class="white_content">             
        <div class="white_d">
            <div class="notice_t">
                <span class="fr" style="margin-top:10px; cursor:pointer;" onclick="CloseDiv('MyDiv','fade')"><img src="images/close.gif" /></span>
            </div>
            <div class="notice_c">
           		
                <table border="0" align="center" style="margin-top:;" cellspacing="0" cellpadding="0">
                  <tr valign="top">
                    <td width="40"><img src="images/suc.png" /></td>
                    <td>
                    	<span style="color:#3e3e3e; font-size:18px; font-weight:bold;">您已取消关注该商品</span><br />
                    	<a href="/favorite">查看我的收藏 >></a>
                    </td>
                  </tr>
                  <tr height="50" valign="bottom">
                  	<td>&nbsp;</td>
                    <td><a href="javascript:void(0)" id="yes" onclick="Yes1()" class="b_sure">确定</a></td>
                  </tr>
                </table>
                    
            </div>
        </div>
    </div>    
    <!--End 弹出层-收藏成功 End-->
    
    
    <!--Begin 弹出层-加入购物车 Begin-->
    <div id="fade1" class="black_overlay"></div>
    <div id="MyDiv1" class="white_content">             
        <div class="white_d">
            <div class="notice_t">
                <span class="fr" style="margin-top:10px; cursor:pointer;" onclick="CloseDiv_1('MyDiv1','fade1')"><img src="images/close.gif" /></span>
            </div>
            <div class="notice_c">
           		
                <table border="0" align="center" style="margin-top:;" cellspacing="0" cellpadding="0">
                  <tr valign="top">
                    <td width="40"><img src="images/suc.png" /></td>
                    <td>
                    	<span style="color:#3e3e3e; font-size:18px; font-weight:bold;" id="addProductToCarTip">宝贝已成功添加到购物车</span><br />
                    	<!-- 购物车共有1种宝贝（3件） &nbsp; &nbsp; 合计：1120元 -->
                    </td>
                  </tr>
                  <tr height="50" valign="bottom">
                  	<td>&nbsp;</td>
                    <td><a href="BuyCar.do" class="b_sure">去购物车结算</a><a href="javascript:void(0)" onclick="CloseDiv_1('MyDiv1','fade1')" class="b_buy">继续购物</a></td>
                  </tr>
                </table>
                    
            </div>
        </div>
    </div>    
    <!--End 弹出层-加入购物车 End-->
    
    <script th:inline="javascript" type="text/javascript" >
    	var specs;
    	function selectProductSpecs(selectSpecs){
    		if(specs!=null){
    			jQuery('#specs'+specs).attr('class','');
    		}
    		specs = selectSpecs;
    		jQuery('#specs'+selectSpecs).attr('class','checked');
    	}
    
    
		function addCar(){
			var count=jQuery('#productCount').val();
			if(specs == null){
				jQuery('#addProductToCarTip').html('请选择一个规格');
				ShowDiv_1('MyDiv1','fade1');
				return;
			}
			jQuery.post('add.do',{count:count,specs:specs},function(data){
				if(data.sucess == 0){
					// 弹窗提示添加失败
					$('#addProductToCarTip').html(data.message);
					ShowDiv_1('MyDiv1','fade1');
				}else if(data.sucess == 1){
					// 也可以弹窗提示添加成功
					ShowDiv_1('MyDiv1','fade1');
				}
			},'json');
		}
		
		function addToFav(product){
			var isClass = jQuery('#addToMyFav').hasClass('d_care');
			if(isClass){
				jQuery('#addToMyFav').attr('class','d_care1');
				isClass=!isClass;
			}else{
				jQuery('#addToMyFav').attr('class','d_care');
				isClass=!isClass;
			}
			jQuery.post('addToMyFav.do',{product:product},function(data){
				if(data.message=="收藏"){
					ShowDiv('MyDiv','fade');
				}else{
					ShowDiv('MyDiv2','fade2');
				}
				
			});
			
		}
		function Yes(){
			CloseDiv('MyDiv','fade');
		}
		function Yes1(){
			CloseDiv('MyDiv2','fade2');
		}
	</script>
    <!--Begin Footer Begin -->
    <div id="footer" class="b_btm_bg bg_color">
        <div class="b_btm">
            <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0">
              <tr>
                <td width="72"><img src="images/b1.png" width="62" height="62" /></td>
                <td><h2>正品保障</h2>正品行货  放心购买</td>
              </tr>
            </table>
			<table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0">
              <tr>
                <td width="72"><img src="images/b2.png" width="62" height="62" /></td>
                <td><h2>满38包邮</h2>满38包邮 免运费</td>
              </tr>
            </table>
            <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0">
              <tr>
                <td width="72"><img src="images/b3.png" width="62" height="62" /></td>
                <td><h2>天天低价</h2>天天低价 畅选无忧</td>
              </tr>
            </table>
            <table border="0" style="width:210px; height:62px; float:left; margin-left:75px; margin-top:30px;" cellspacing="0" cellpadding="0">
              <tr>
                <td width="72"><img src="images/b4.png" width="62" height="62" /></td>
                <td><h2>准时送达</h2>收货时间由你做主</td>
              </tr>
            </table>
        </div>
    </div>
    <div class="b_nav">
    	<dl>                                                                                            
        	<dt><a href="#">新手上路</a></dt>
            <dd><a href="#">售后流程</a></dd>
            <dd><a href="#">购物流程</a></dd>
            <dd><a href="#">订购方式</a></dd>
            <dd><a href="#">隐私声明</a></dd>
            <dd><a href="#">推荐分享说明</a></dd>
        </dl>
        <dl>
        	<dt><a href="#">配送与支付</a></dt>
            <dd><a href="#">货到付款区域</a></dd>
            <dd><a href="#">配送支付查询</a></dd>
            <dd><a href="#">支付方式说明</a></dd>
        </dl>
        <dl>
        	<dt><a href="#">会员中心</a></dt>
            <dd><a href="#">资金管理</a></dd>
            <dd><a href="#">我的收藏</a></dd>
            <dd><a href="#">我的订单</a></dd>
        </dl>
        <dl>
        	<dt><a href="#">服务保证</a></dt>
            <dd><a href="#">退换货原则</a></dd>
            <dd><a href="#">售后服务保证</a></dd>
            <dd><a href="#">产品质量保证</a></dd>
        </dl>
        <dl>
        	<dt><a href="#">联系我们</a></dt>
            <dd><a href="#">网站故障报告</a></dd>
            <dd><a href="#">购物咨询</a></dd>
            <dd><a href="#">投诉与建议</a></dd>
        </dl>
        <div class="b_tel_bg">
        	<a href="#" class="b_sh1">新浪微博</a>            
        	<a href="#" class="b_sh2">腾讯微博</a>
            <p>
            服务热线：<br />
            <span>400-123-4567</span>
            </p>
        </div>
        <div class="b_er">
            <div class="b_er_c"><img src="images/er.gif" width="118" height="118" /></div>
            <img src="images/ss.png" />
        </div>
    </div>    
    <div class="btmbg">
		<div class="btm">
        	备案/许可证编号：蜀ICP备12009302号-1-www.dingguagua.com   Copyright © 2015-2018 尤洪商城网 All Rights Reserved. 复制必究 , Technical Support: Dgg Group <br />
            <img src="images/b_1.gif" width="98" height="33" /><img src="images/b_2.gif" width="98" height="33" /><img src="images/b_3.gif" width="98" height="33" /><img src="images/b_4.gif" width="98" height="33" /><img src="images/b_5.gif" width="98" height="33" /><img src="images/b_6.gif" width="98" height="33" />
        </div>    	
    </div>
    <!--End Footer End -->    
</div>
<!-- 聊天框 -->
<div class="qqBox" id="chartBox" style="z-index:9999;display: none;">
	<div class="BoxHead">
		<div class="headImg">
			<img th:src="${loginUser.image3.url}" />
		</div>
		<div class="internetName" th:text="${loginUser.trueName}">90后大叔</div>
		<a href="javascript:void(0)" onclick="closeChart()" style="display: block;width: 20px;height: 20px;background: url(images/wrong.svg);margin-top: 13px;margin-right: 10px;"></a>
	</div>
	<div class="context" style="width: 100%;">
		<div class="conLeft">
			<ul>
				<li class="bg">
					<div class="liLeft" style="margin: 0px;"><img th:src="${product.business2.image2.url}" width="43px" height="41px" /></div>
					<div class="liRight" style="margin: 0px;">
						<span class="intername" th:text="${product.business2.name}">前端交流群</span>
						<span class="infor">&nbsp;</span>
					</div>
				</li>
				<!-- <li class="bg">
					<div class="liLeft" style="margin: 0px;"><img src="images/20170926103645_19.jpg" /></div>
					<div class="liRight" style="margin: 0px;">
						<span  class="intername">赵鹏</span>
						<span class="infor">[流泪]</span>
					</div>
				</li>
				<li>
					<div class="liLeft" style="margin: 0px;"><img src="images/20170926103645_27.jpg" /></div>
					<div class="liRight" style="margin: 0px;">
						<span  class="intername">web交流群</span>
						<span class="infor">666</span>
					</div>
				</li>
				<li>
					<div class="liLeft" style="margin: 0px;"><img src="images/20170926103645_21.jpg" /></div>
					<div class="liRight" style="margin: 0px;">
						<span  class="intername">jquery插件库</span>
						<span class="infor">这个群妹子多</span>
					</div>
				</li>
				<li>
					<div class="liLeft" style="margin: 0px;"><img src="images/20170926103645_23.jpg" /></div>
					<div class="liRight" style="margin: 0px;">
						<span  class="intername">我的phone</span>
						<span class="infor">[文件]</span>
					</div>
				</li>
				<li>
					<div class="liLeft" style="margin: 0px;"><img src="images/20170926103645_25.jpg" /></div>
					<div class="liRight" style="margin: 0px;">
						<span  class="intername">...</span>
						<span class="infor">[么么哒]</span>
					</div>
				</li>
				<li>
					<div class="liLeft" style="margin: 0px;"><img src="images/20170926103645_27.jpg" /></div>
					<div class="liRight" style="margin: 0px;">
						<span  class="intername">前端交流群</span>
						<span class="infor">前端小黑：怎么才能</span>
					</div>
				</li>
				<li>
					<div class="liLeft" style="margin: 0px;"><img src="images/20170926103645_29.jpg" /></div>
					<div class="liRight" style="margin: 0px;">
						<span  class="intername">前端交流群</span>
						<span class="infor">大西瓜：差评，这个下面又</span>
					</div>
				</li>
				<li>
					<div class="liLeft" style="margin: 0px;"><img src="images/20170926103645_54.jpg" /></div>
					<div class="liRight" style="margin: 0px;">
						<span  class="intername">前端交流群</span>
						<span class="infor">[流泪]</span>
					</div>
				</li>
				<li>
					<div class="liLeft" style="margin: 0px;"><img src="images/20170926103645_04.jpg" /></div>
					<div class="liRight" style="margin: 0px;">
						<span  class="intername">前端交流群</span>
						<span class="infor">[流泪]</span>
					</div>
				</li>
				<li>
					<div class="liLeft" style="margin: 0px;"><img src="images/20170926103645_19.jpg" /></div>
					<div class="liRight" style="margin: 0px;">
						<span  class="intername">赵鹏</span>
						<span class="infor">[流泪]</span>
					</div>
				</li>
				<li>
					<div class="liLeft" style="margin: 0px;"><img src="images/20170926103645_27.jpg" /></div>
					<div class="liRight" style="margin: 0px;">
						<span  class="intername">web交流群</span>
						<span class="infor">[流泪]</span>
					</div>
				</li>
				<li>
					<div class="liLeft" style="margin: 0px;"><img src="images/20170926103645_21.jpg" /></div>
					<div class="liRight" style="margin: 0px;">
						<span  class="intername">jquery插件库</span>
						<span class="infor">[流泪]</span>
					</div>
				</li>
				<li>
					<div class="liLeft" style="margin: 0px;"><img src="images/20170926103645_23.jpg" /></div>
					<div class="liRight" style="margin: 0px;">
						<span  class="intername">我的phone</span>
						<span class="infor">[流泪]</span>
					</div>
				</li>
				<li>
					<div class="liLeft" style="margin: 0px;"><img src="images/20170926103645_25.jpg" /></div>
					<div class="liRight" style="margin: 0px;">
						<span  class="intername">...</span>
						<span class="infor">[流泪]</span>
					</div>
				</li>
				<li>
					<div class="liLeft" style="margin: 0px;"><img src="images/20170926103645_27.jpg" /></div>
					<div class="liRight" style="margin: 0px;">
						<span  class="intername">前端交流群</span>
						<span class="infor">[流泪]</span>
					</div>
				</li>
				<li>
					<div class="liLeft" style="margin: 0px;"><img src="images/20170926103645_29.jpg" /></div>
					<div class="liRight" style="margin: 0px;">
						<span  class="intername">前端交流群</span>
						<span class="infor">[流泪]</span>
					</div>
				</li>
				<li>
					<div class="liLeft" style="margin: 0px;"><img src="images/20170926103645_54.jpg" /></div>
					<div class="liRight" style="margin: 0px;">
						<span  class="intername">前端交流群</span>
						<span class="infor">[流泪]</span>
					</div>
				</li> -->
			</ul>
		</div>
		<div class="conRight" >
			<div class="Righthead" style="background-color: white;opacity: 1;">
				<div class="headName" th:text="${product.business2.name}">赵鹏</div>
				<div class="headConfig">
					<ul>
						<li><img src="images/20170926103645_06.jpg" /></li>
						<li><img src="images/20170926103645_08.jpg" /></li>
						<li><img src="images/20170926103645_10.jpg" /></li>
						<li><img src="images/20170926103645_12.jpg" /></li>
					</ul>
				</div>
			</div>
			<div class="RightCont" style="opacity:1;margin: 0;background-color: white;">
				<ul class="newsList">
				
				</ul>
			</div>
			<div class="RightFoot">
				<div class="emjon">
					<ul>
						<li><img src="images/em_02.jpg" /></li>
						<li><img src="images/em_05.jpg" /></li>
						<li><img src="images/em_07.jpg" /></li>
						<li><img src="images/em_12.jpg" /></li>
						<li><img src="images/em_14.jpg" /></li>
						<li><img src="images/em_16.jpg" /></li>
						<li><img src="images/em_20.jpg" /></li>
						<li><img src="images/em_23.jpg" /></li>
						<li><img src="images/em_25.jpg" /></li>
						<li><img src="images/em_30.jpg" /></li>
						<li><img src="images/em_31.jpg" /></li>
						<li><img src="images/em_33.jpg" /></li>
						<li><img src="images/em_37.jpg" /></li>
						<li><img src="images/em_38.jpg" /></li>
						<li><img src="images/em_40.jpg" /></li>
						<li><img src="images/em_45.jpg" /></li>
						<li><img src="images/em_47.jpg" /></li>
						<li><img src="images/em_48.jpg" /></li>
						<li><img src="images/em_52.jpg" /></li>
						<li><img src="images/em_54.jpg" /></li>
						<li><img src="images/em_55.jpg" /></li>
					</ul>
				</div>
				<div class="footTop" style="background-color: white;opacity: 1;">
					<ul>
						<li><img src="images/20170926103645_31.jpg" /></li>
						<li class="ExP"><img src="images/20170926103645_33.jpg" /></li>
						<li><img src="images/20170926103645_35.jpg" /></li>
						<li><img src="images/20170926103645_37.jpg" /></li>
						<li><img src="images/20170926103645_39.jpg" /></li>
						<li><img src="images/20170926103645_41.jpg" alt="" /></li>
						<li><img src="images/20170926103645_43.jpg" /></li>
						<li><img src="images/20170926103645_45.jpg" /></li>
					</ul>
				</div>
				<div class="inputBox">
					<textarea id="dope" style="width: 99%;height: 75px; border: none;outline: none;" name="" rows="" cols=""></textarea>
					<button class="sendBtn" onclick="send()">发送(s)</button>
				</div>
			</div>
		</div>
	</div>
</div>
<!-- //聊天框 -->
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/chat.js"></script>
<script th:inline="javascript">
var userId=[[${loginUser.id}]];
var userImage=[[${loginUser.image3.url}]];
var talkPeople;
var talkPeopleImage;
var websocket;
function link(){
	
	// 创建websocket对象
	if(websocket==null){
		websocket= new WebSocket("ws://localhost/websocket/user"+userId)
	}
	
	websocket.onerror = function(event) {
		console.log("========onerror========");
	}

	websocket.onopen = function(event) {
		console.log("========onopen========");
	}

	websocket.onmessage = function(event) {
		var answer='';
		answer+='<li>'+
					'<div class="nesHead"><img src="'+talkPeopleImage+'"/></div>'+
					'<div class="news">'+event.data+'</div>'+
				'</li>';
				//<img class="jiao" src="img/jiao.jpg">
		$('.newsList').append(answer);	
		$('.conLeft').find('li.bg').children('.liRight').children('.infor').text(event.data);
		$('.RightCont').scrollTop($('.RightCont')[0].scrollHeight );
	}

	websocket.onclose = function(event) {
		console.log("========onclose========");
	}
}


function closeWebSocket(){
	websocket.close();
}

function send(){
	var news=$('#dope').val();
	
	if(news==''){
		alert('不能为空');
	}else{
		websocket.send('business'+talkPeople+':'+news);
		$('#dope').val('');
		var str='';
		str+='<li>'+
				'<div class="answerHead"><img src="'+userImage+'"/></div>'+
				'<div class="answers">'+news+'</div>'+
			'</li>';
			// <img class="jiao" src="img/20170926103645_03_02.jpg">
		$('.newsList').append(str);
		//setTimeout(answers,1000); 
		$('.conLeft').find('li.bg').children('.liRight').children('.infor').text(news);
		$('.RightCont').scrollTop($('.RightCont')[0].scrollHeight );
	}
}
function openChart(businessId,businessImage){
	link();
	talkPeople=businessId;
	talkPeopleImage=businessImage;
	$('#chartBox').css('display','block');
}
function closeChart(){
	closeWebSocket();
	$('#chartBox').css('display','none');
}
</script> 
</body>


<!--[if IE 6]>
<script src="//letskillie6.googlecode.com/svn/trunk/2/zh_CN.js"></script>
<![endif]-->
</html>